app = angular.module('starter', [ 'ui.router', 'starter.home.controllers', 'starter.home.services', 'starter.home.directives'])

app.config(['$stateProvider', '$urlRouterProvider', ($stateProvider, $urlRouterProvider) ->	
	$stateProvider.state('home', 
		url: "/home"
		templateUrl: 'templates/home.html'
		controller: 'HomeController')
	.state('other', 
		url: "/other"
		template: 'this is other')

	$urlRouterProvider.otherwise('/home')
])
